
    <div id="isi">
		<div class="atas"></div>
		<div class="tengah">
			<div id="isidalam">
				<div class="putihatasCopy"></div>
				<div class="putihtengahCopy">
					<div class="headingform din">Current Term Schedule</div>
				</div>
				<div class="putihbawahCopy"></div>
				<div class="putihtengahform">
                	<div id="schedule">
						<div id="kategori" class="">
							
								<a href="<?php echo base_url()?>itcourse/itcourse_con/schedules/1">Today</a>
								<a href="<?php echo base_url()?>itcourse/itcourse_con/schedules/2">Tomorrow</a>
								<a href="<?php echo base_url()?>itcourse/itcourse_con/schedules/3">Curent Term</a>
								<a href="<?php echo base_url()?>itcourse/itcourse_con/schedules/4">Anual</a>
								<a href="<?php echo base_url()?>itcourse/itcourse_con/schedules/5">Specific Class</a>
							</div>
						<div id="isijadwalall">
							<div class="jadwalfor3"><?php if(isset($term)) echo 'Term-'.$term['NO_TERM'].' '.$term['TAHUN'];?></div>
						  <p class="clear"></p>
							<table width="100%" border="0" cellpadding="0" cellspacing="0" id="tabelbandung">
							  <tr>
							    <th colspan="2"></th>
							    <th width="14%"><span class="dpr3">Start</span></th>
							    <th width="39%"><span class="dpr3">Schedule</span> </th>
                                                            </tr>
                                                            <?php 
                                                                if(!empty($kelas)){
                                                                    echo '<tr>
                                                                        ';
                                                                    for($i=0;$i<count($kelas);$i++){
																		echo '
                                                                              <tr>
                                                                                <td width="5%" class="buletdepan">&nbsp;</td>
                                                                                <td width="42%" ><span class="dpr3">'.$kelas[$i]['KODE_PELATIHAN'].'-'.$kelas[$i]['ANGKATAN'].'<br /> '.$kelas[$i]['NAMA_PELATIHAN'].'</span> <br /></td>
                                                                                <td class="dpr4">'.$kelas[$i]['TGL_MULAI'].'</td>
                                                                                <td class="dpr4">';
                                                                                if(isset($kelas[$i]['JADWAL'])){
                                                                                    for($j=0;$j<count($kelas[$i]['JADWAL']['hari']);$j++){
                                                                                        echo $kelas[$i]['JADWAL']['hari'][$j].' '.$kelas[$i]['JADWAL']['jam'][$j].'<br/>';
                                                                                    }
                                                                                }
                                                                                 echo '</td>
                                                                          </tr>
                                                                            ';
                                                                    }
                                                                    echo '</tr>
                                                                        ';
                                                                }
                                                            
                                                            ?>
						  </table>
							<div id="down2">
								<a href="#">Download Course Schedule</a>
							</div>
                        </div>
						
                    </div>
					
                </div>
				<div class="putihbawah"></div>
			</div>
		</div>

	</div><!---end #isi--->